package com.linglan.modules.department.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import java.util.Date;

/**
 * 业务-科室表(BizDepartment)表实体类
 *
 * @author makejava
 * @since 2025-05-11 21:59:50
 */
@SuppressWarnings("serial")
@TableName("biz_department")
public class BizDepartment extends Model<BizDepartment> {

    private Long id;
//所属医院id
    private Long hospitalId;
//科室名称
    private String name;
//科室简介图
    private String shortAvatar;
//科室图片
    private String avatar;
//科室介绍
    private String intro;
//权重
    private Integer weight;
//是否已删除
    private Integer isDeleted;
//创建时间
    private Date createdAt;
//更新时间
    private Date updatedAt;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getHospitalId() {
        return hospitalId;
    }

    public void setHospitalId(Long hospitalId) {
        this.hospitalId = hospitalId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getShortAvatar() {
        return shortAvatar;
    }

    public void setShortAvatar(String shortAvatar) {
        this.shortAvatar = shortAvatar;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    public Serializable pkVal() {
        return this.id;
    }
}

